﻿@model DAL.Models.UsuarioSocios

@{
    ViewBag.Title = "Vincular";
}

<h2>Vincular</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Vincular Socio-Usuario</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserId, "Nombre de Usuario Web")
        </div>
        <div class="editor-field">
            @Html.DropDownList("UserId", String.Empty)
            @Html.ValidationMessageFor(model => model.UserId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SocioId, "Socio")
        </div>
        <div class="editor-field">
            @Html.DropDownList("SocioId", String.Empty)
            @Html.ValidationMessageFor(model => model.SocioId)
        </div>

        <p>
            <input type="submit" value="Vincular" />
        </p>
    </fieldset>
}

